package com.inspectionwork.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.inspectionwork.model.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: YangYu
 * @ClassName: CommentMapper
 * @Date: Created in 11:12 2022/6/23
 * @Description: 评论
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    /**
     * @Author YangYu
     * @Description 安全知识分页查询
     * @Date Created in 14:14 2022/6/23
     * @Param [page, jsonParam]
     */

    IPage<Comment> getCommentListPage(IPage page, @Param("param") JSONObject jsonParam);
}
